#{extends 'mana-main.html' /}
#{set activityActive :"active" /}
#{set title :"修改活动" /}
<br>
<br>
<br>
<br>
<br>

<form class="bs-docs-example form-horizontal" method="post" action="@{Activities.modifyRecommend}">
    <fieldset>
        <legend>修改活动</legend>
        <div class="control-group">
            <label class="control-label" for="T-name">标题</label>
            <div class="controls">
                <input type="text" id="T-name" placeholder="" name="name" value="${productrecommended.name}">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="T-article">链接</label>
            <div class="controls">
                <input type="text" id="T-article" placeholder="" name="keyId" value="${productrecommended.keyId}">
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" for="T-photo">图片ID</label>
            <div class="controls">
                <input type="text" id="T-photo" placeholder="" name="photoId" value="${productrecommended.photo_id}">
            </div>
        </div>
        <input type="hidden" id="id" placeholder="" name="id" value="${productrecommended.id}">


        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn btn-info">提交</button>
            </div>
        </div>
    </fieldset>
</form>
